﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Authorization
{
    public class AuthorizationBase : Csla.Rules.BusinessRule
    {
        public string AuthorizationMessage { get; set; }

        public AuthorizationBase(Csla.Core.IPropertyInfo PrimaryProperty, int Priority, string AuthorizationMessage)
            : base(PrimaryProperty)
        {
            this.AuthorizationMessage = AuthorizationMessage;
            this.Priority = Priority;
        }
    }
}
